From: bors Date: Tue, 22 Aug 2017 15:26:56 +0000 (+0000) Subject: Auto merge of #4424 - Xanewok:process-builder-api, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~7^2~10 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=f46d485b8d149b06aeab62b207e9a8f2c1015aea;p=cargo.git Auto merge of #4424 - Xanewok:process-builder-api, r=alexcrichton Add `fn args_replace` and `fn get_program` to `ProcessBuilder` `Executor::exec()` provides a `ProcessBuilder` argument representing compiler call and if someone wants to use it or modify it for their own purposes, they have to (partially) recreate it themselves. This: * makes the argument modification possible (via `args_replace`, analogous to `env_remove`) * exposes the program that will be run (via `get_program`, in case `rustc` is overriden via wrapper etc.). r? @alexcrichton --- f46d485b8d149b06aeab62b207e9a8f2c1015aea